<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('coll/analysis/exportExcel')}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('状态')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--            <input id="c-goods_id" data-rule="required" data-source="goods/index" class="form-control selectpage" name="row[goods_id]" type="text" value="">-->
<!--            <select name="status[]" id="" class="form-control checkstatus selectpicker" multiple="">-->
                <select  id="c-flag"  class="form-control selectpicker" multiple="" name="status[]">
<!--                <option value="0">全部</option>-->
                {volist name="statuslist" id="vo"}
                    <option value="{$key}">{$vo}</option>
                {/volist}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('用户')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--            <select name="" id="" class="form-control">-->
<!--                <option value="0">请选择</option>-->
<!--                <volist id="" name="">-->
<!--            </select>-->
            <input id="c-admin_id"  data-source="auth/admin/index" data-field="nickname" class="form-control selectpage" name="admin_id" type="text" value="" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('单据类型')}:</label>
        <div class="col-xs-12 col-sm-8">
                        <select name="type_id" id="type_id" class="form-control">
                            <option value="1">收款类</option>
                            <option value="2">付款类</option>
                        </select>
        </div>
    </div>
    <div class="form-group c-customer_id">
        <label class="control-label col-xs-12 col-sm-2">{:__('客户')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-customer_id"  data-source="customer/customer/index" data-field="nickname" class="form-control selectpage" name="customer_id" type="text" value="" >
        </div>
    </div>
    <div class="form-group c-supplier" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('供应商')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-supplier"  data-source="supplier/supplier/index" data-field="nickname" class="form-control selectpage" name="supplier_id" type="text" value="" >
        </div>
    </div>
    <div class="form-group " >
        <label class="control-label col-xs-12 col-sm-2">{:__('出库仓库')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-storehouse_id"  data-source="data/storehouse/index" data-field="name" class="form-control selectpage" name="storehouse_id" type="text" value="" >
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('开始时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="start_time" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('结束时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="end_time" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_num')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-goods_num" class="form-control" name="row[goods_num]" type="number">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
<!--            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        </div>
    </div>
</form>
